'use strict';

const Controller = require('../core/base_controller');

class DistrictsController extends Controller {
    // 获取省份列表
    async getProvince() {
        await this.districts('getProvince')
    }
    // 获取城市列表
    async getCity() {
        await this.districts('getCity')
    }
    // 获取区县列表
    async getCounty() {
        await this.districts('getCounty')
    }
}

module.exports = DistrictsController;
